package com.ui.home.presenter;

import com.base.BaseRefreshContract;
import com.bean.SearchListBean;

import java.util.List;

public interface SearchActivityContract {
    interface View extends BaseRefreshContract.View{
        void onGetHotKey(List<String> keyList);
        void onGetSearchList(List<SearchListBean.DatasBean> datas);
        void onLoadMoreSearch(List<SearchListBean.DatasBean> datas);
    }

    interface Presenter extends BaseRefreshContract.Presenter<SearchActivityContract.View>{
        void getHotKey();
        void getSearchList(int page, String keyWord);
    }
}
